﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Security;
using System.Security;

namespace StreetSmartAdmin
{
    public partial class Header : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            /*
            ADODotNetCRUD crud = new ADODotNetCRUD();
            Userinfo user = crud.GetUser(User.Identity.Name);
            if (user.groupname == "Manila")
                Response.Redirect("MNL_Admin.aspx");
            lblUser.Text = (user.fullname);
            lblGroup.Text = (user.groupname);
             */
        }

        public void Logout_Click(object sender, EventArgs e)
        {
            FormsAuthentication.SignOut();
            //Session.Clear();
            Response.Redirect("login.aspx");

        }
    }
}